package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TPropertyMaintenance extends TableDef {

    public static final TPropertyMaintenance property_maintenance = new TPropertyMaintenance("property_maintenance");

    public QueryColumn pkid = new QueryColumn(this, "pkid");
    public QueryColumn code = new QueryColumn(this, "code");
    public QueryColumn maintenance_type = new QueryColumn(this, "maintenance_type");
    public QueryColumn sponsor_name = new QueryColumn(this, "sponsor_name");
    public QueryColumn phone = new QueryColumn(this, "phone");
    public QueryColumn content = new QueryColumn(this, "content");
    public QueryColumn is_accept = new QueryColumn(this, "is_accept");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn update_by = new QueryColumn(this, "update_by");

    public QueryColumn[] default_columns = new QueryColumn[]{pkid, code, maintenance_type, sponsor_name, phone, content, is_accept, create_time, update_time, create_by, update_by};
    public QueryColumn[] all_columns = new QueryColumn[]{pkid, code, maintenance_type, sponsor_name, phone, content, is_accept, create_time, update_time, create_by, update_by};

    public TPropertyMaintenance(String tableName) {
        super(tableName);
    }
}
